package com.ruoyi.project.student.controller;

import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.framework.web.page.TableDataInfo;
import com.ruoyi.project.student.domain.Class;
import com.ruoyi.project.student.domain.Student;
import com.ruoyi.project.student.domain.vo.StudentListVo;
import com.ruoyi.project.student.service.IClassService;
import com.ruoyi.project.student.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 学生信息管理Controller
 * 
 * @author ruoyi
 * @date 2025-03-28
 */
@RestController
@RequestMapping("/class/class")
public class ClassController extends BaseController
{
    @Autowired
    private IClassService classService;

    /**
     * 查询学生信息管理列表
     */
    @GetMapping("/list")
    public TableDataInfo list(Class classs)
    {
        List<Class> list = classService.selectClassList(classs);
        return getDataTable(list);
    }



}
